import request from './request';

/**
 * 获取所有角色
 * @returns {Promise}
 */
export const getAllRoles = () => {
  return request({
    url: '/role/role/details',
    method: 'get'
  });
};